<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {margin: 0; padding: 0}
        .header,
        .footer{
            text-align: center;
            background-color: white;
        }


        .container,
        .container-inner,
        .left,
        .right{
            float: left;
            height:100px;
        }

        .container{
            width: 100%;
            background-color: blue;
            /*padding: 0 220px 0 220px;*/
        }

        .container-inner{
            margin:0 220px 0 220px;
        }
        .left{
            width: 220px;
            background-color: aqua;
            margin-left:-100%;
        }
        .right{
            width: 220px;
            background-color: aqua;
            margin-left:-220px;
        }
        .footer{
            clear: both;
        }
    </style>
</head>
<body>
<div class="header">
    <h4>header</h4>
</div>
<div class="container">
    <div class="container-inner">
        <h4>middle</h4>
        <p>hhhhhhhhhhhhhh</p>
    </div>
</div>
<div class="left">
    <h4>left</h4>
    <p>llllllllllll</p>
</div>
<div class="right">
    <h4>right</h4>
    <p>rrrrrrrrrrrr</p>
</div>
<div class="footer">
    <h4>footer</h4>
</div>
</body>
</html>